package com._21cn.product.dao.mybatis;

import com._21cn.framework.base.db.mybatis.BaseDaoMybatis;
import com._21cn.product.dao.CarCateDao;
import com._21cn.product.entity.CarCate;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Required;
import org.springframework.stereotype.Repository;

@Repository("carCateDao")
public class CarCateDaoMybatis extends BaseDaoMybatis<CarCate> implements CarCateDao {

    public CarCateDaoMybatis() {
        super();
        setNameSpace( "t_product_car_cate" );
    }

    @Required
    @Autowired
    @Qualifier("sqlSessionFactory")
    public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory) {
        super.setSqlSessionFactory( sqlSessionFactory );
    }

}